import { IntersectionType, OmitType, PartialType } from "@nestjs/swagger";

import { QueryDto } from "@/core/dto/query.dto";

import { CreateSysUserDto } from "./create-sys-user.dto";

export class QuerySysUserDto extends IntersectionType(
    QueryDto,
    PartialType(OmitType(CreateSysUserDto, ["password"] as const))
) {}
